<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="../js/jquery-1.11.3.js" type="text/javascript" ></script>
		<script type="text/javascript">
			$(function(){
				$("tr:even").css('background-color','rgb(0,128,0)');
				$("tr:eq(0)").css('background-color','rgb(255,255,0)');
			});
		</script>
	</head>
	<body>
		<table border="1" cellspacing="0" width="800px">
			<tr>
				<td>序号</td>
				<td>名称</td>
				<td>价格</td>
				<td>数量</td>
			</tr>
			<tr>
				<td>1</td>
				<td>htc</td>
				<td>3200</td>
				<td>10</td>
			</tr>
			<tr>
				<td>2</td>
				<td>apple</td>
				<td>4400</td>
				<td>13</td>
			</tr>
			<tr>
				<td>3</td>
				<td>nokia</td>
				<td>2300/td>
				<td>22</td>
			</tr>
			<tr>
				<td>4</td>
				<td>samsung</td>
				<td>3500</td>
				<td>35</td>
			</tr>
			<tr>
				<td>5</td>
				<td>heimei</td>
				<td>2500</td>
				<td>27</td>
			</tr>
		</table>
	</body>
</html>
